MPHB\Core\BookingRulesData D

Total Complexity 196
Dependencies 2
Dependents 1
Total lines 862
Lines of code 472
Logical lines of code 249
Comment lines 130
Methods 21
Properties 14

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
D
26
55 122
getBookingRulesForDate()
D
31 40 98
getNotStayInComments()
A
45 13 42
getUnavailableRoomIds()
A
49 14 27
getNotStayInRulesData()
A
50 10 28
getBlockedRoomsCountsForRoomType()
A
55 8 19
isBookingRulesViolated()
S
64 7 9
isStayInNotAllowed()
S
58 5 15
isCheckInNotAllowed()
S
63 5 10
isCheckOutNotAllowed()
S
63 5 10
isMaxStayDaysRuleViolated()
S
63 4 11
isCheckInLaterThanMaxAdvanceDate()
S
63 4 11
getMaxAdvanceReservationDaysCount()
S
66 3 8
getMinStayDaysCountForAllSeasons()
S
65 3 9
isMinStayDaysRuleViolated()
S
66 3 9
getMinStayLengthReservationDaysCount()
S
66 3 8
getBufferDaysCount()
S
66 3 8
getMinAdvanceReservationDaysCount()
S
66 3 8
isCheckInEarlierThanMinAdvanceDate()
S
66 3 9
getMaxStayLengthReservationDaysCount()
S
66 3 8
hasBufferDaysRules()
S
80 2 3